package com.bwie.auth.feign;

import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author：Minxiao Hao
 * @Description:
 * @name：SysLogin
 * @Date：2024/11/4 10:08
 */
@FeignClient("bwie-login")
public interface SysLogin {
    /**
     * 根据手机号获取用户 对象
     * @param loginPhone
     * @return
     */
    @PostMapping("/login/findLoginPhone/{loginPhone}")
    Result findLoginPhone(@PathVariable String loginPhone);
}
